package com.sgcc.fj.pmos.e_fj_home.adapter;

import android.content.Context;
import android.view.View;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.sgcc.pmos.nativesdk.R;
import com.sgcc.fj.pmos.e_fj_home.bean.DDSNDLPHYDBean;
import com.sgcc.fj.pmos.e_fj_home.bean.FileBean;

public class DDSNDLPHYDAdapter extends BaseQuickAdapter<DDSNDLPHYDBean.DataBean.IpConfigDataColsListBean, BaseViewHolder> {

    private Context mContext;

    public DDSNDLPHYDAdapter(Context context) {
        super(R.layout.item_ddsndlphyd);
        mContext = context;
    }

    @Override
    protected void convert(BaseViewHolder baseViewHolder, DDSNDLPHYDBean.DataBean.IpConfigDataColsListBean bean) {
        baseViewHolder.setText(R.id.tv_key, bean.getColTitle());
        baseViewHolder.setText(R.id.tv_value, bean.getColName());
    }
}


